package com.gc.baselib.img;


import com.bumptech.glide.request.target.Target;

/**
 * Created by shiming on 2016/10/26.
 * 监听图片下载进度
 */
public interface IImageLoaderListener<T> {

    //监听图片下载错误
    boolean onLoadingFailed(Target<T> target, Exception exception, boolean isFrist);
   //监听图片加载成功
   boolean onLoadingComplete(Target<T> target, T resource,boolean isFrist);

}
